package com.sangeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sangeng.domain.entity.Menu;

import java.util.List;

/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author makejava
 * @since 2025-06-26 16:12:52
 */
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 根据用户id查询权限信息
     * @param userId
     * @return
     */
    public List<String> selectPermsByUserId(Long userId);
}

